package net.yambal.RTM.Items
{
	public class RTMTaskSeries
	{
		public var id:String;
		public var list_id:uint;
		public var modified:Date;
		public var created:Date;
		public var name:String;
		public var source:String;
		public var url:String;
		public var tags:Array;
		public var notes:Array;
		public var task:RTMTask;
		public var participants:Array;
		
		public function toString():String{
			var ret:String = "";
			
			ret += "id:" + this.id +
					" list_id:" + this.list_id +
					" name:" + this.name +
					" created:" + this.created +
					" modified:" + this.modified +
					" source:" + this.source +
					" url:" + this.url +
					" tags:" + this.tags.join(",") +
					" participants:" + this.participants.join(",");
			ret += "\n\t" + this.task.toString();
			ret += "\n\t" + this.notes.join("\n\t");
			
			return ret;
		}
	}
}